package com.weige.conver.handler;

import com.weige.conver.entity.ReceiveMessage;
import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * 定义一个转换接口
 */
public interface ConverHandler {

    /**
     * 实现策略类，根据不同类型的动环调用不同的类
     * @param receiveMessage
     * @throws IOException
     */
    void handler(ReceiveMessage receiveMessage) throws IOException;
}
